package com.yidu.hbatsams.dao;

import com.yidu.hbatsams.domain.AtsPlanPhase;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AtsPlanPhaseMapper {
    /**
     *
     * @mbg.generated 2019-10-29
     */
    int deleteByPrimaryKey(Integer phaseId);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int insert(AtsPlanPhase record);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int insertSelective(AtsPlanPhase record);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    AtsPlanPhase selectByPrimaryKey(Integer phaseId);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int updateByPrimaryKeySelective(AtsPlanPhase record);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int updateByPrimaryKey(AtsPlanPhase record);



    List<AtsPlanPhase> findAll(AtsPlanPhase atsPlanPhase);


    int count(AtsPlanPhase atsPlanPhase);


}